/**
 * Progetto PRAISED.
 * 24/gen/2011
 */
package it.uniroma3.dia.praised.core.model;

/**
 * @author Accosta Augusto
 * @author Lopez Elisabetta
 *
 */
public class Token {

	private String token;
	private boolean isAminoacid;
	
	/**
	 * 
	 */
	public Token(String token) {
		this.setToken(token);
	}

	public Token(String token, boolean isAminoacid) {
		this.setToken(token);
		this.setAminoacid(isAminoacid);
	}

	/**
	 * @param token the token to set
	 */
	public void setToken(String token) {
		this.token = token;
	}

	/**
	 * @return the token
	 */
	public String getToken() {
		return this.token;
	}

	/**
	 * @param isAminoacid the isAminoacid to set
	 */
	public void setAminoacid(boolean isAminoacid) {
		this.isAminoacid = isAminoacid;
	}

	/**
	 * @return the isAminoacid
	 */
	public boolean isAminoacid() {
		return this.isAminoacid;
	}	
}
